//
//  BCSearchKeywordCollectionViewCell.m
//  BangcaiBuy
//
//  Created by Liang Zhang on 16/6/23.
//  Copyright © 2016年 BCB. All rights reserved.
//

#import "BCSearchKeywordCollectionViewCell.h"

@implementation BCSearchKeywordCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.layer.cornerRadius = 3.f;
    self.layer.borderColor = BangcaiBlue.CGColor;
    self.layer.borderWidth = 1.f;
}

+ (instancetype)cellWithCollectionView:(UICollectionView *)collectionView {
    static NSString *ID = @"KeywordCell";
    UINib *nib = [UINib nibWithNibName:@"BCSearchKeywordCollectionViewCell" bundle: [NSBundle mainBundle]];
    [collectionView registerNib:nib forCellWithReuseIdentifier:ID];
    BCSearchKeywordCollectionViewCell *cell = [[BCSearchKeywordCollectionViewCell alloc] init];
    return cell;
}

@end
